package com.znf.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "auth")
@Configuration
public class AuthProperties {


    private JwtProperties jwt;

    private List<String> ignoreUrls;

    @Data
    public static class JwtProperties {

        private String header;

        private String secret;

        private Long expire;
    }
}
